package com.zxx.pattern.statePattern.state3.sample;

import android.content.Context;
import android.widget.Toast;

/**
 * 已登录状态
 *
 * @author zxx on 2021/1/20
 */
public class LoginedState implements UserState {
    @Override
    public void forward(Context context) {
        Toast.makeText(context, "转发微博", Toast.LENGTH_SHORT).show();
    }

    @Override
    public void comment(Context context) {
        Toast.makeText(context, "评论微博", Toast.LENGTH_SHORT).show();
    }
}
